Carbon


PBCreateFileUnicodeAsync

Header: Files.h Carbon status: Supported

Creates a new file in the specified directory.

void PBCreateFileUnicodeAsync (
    FSRefParam *paramBlock
);
paramBlock

A pointer to a parameter block.

DISCUSSION

The relevant fields of the parameter block are:

You may optionally set catalog information for the file using the whichInfo and catalogInfo parameters; this is equivalent to calling FSSetCatalogInfo after creating the file. If possible, you should set the textEncodingHint in the catalogInfo.

AVAILABILITY

Supported in Carbon. Available in Mac OS 9, and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)